package com.anxin.act.wfEntrustTask.entity;

//import io.swagger.annotations.ApiModel;
//import io.swagger.annotations.ApiModelProperty;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.anxin.framework.web.entity.BaseEntity;

/**
 * 委托代办对象 wf_entrust_task
 *
 * @author jbs
 * @date 2021-11-18
 */
//@ApiModel(description = "委托代办")
public class WfEntrustTask extends BaseEntity<WfEntrustTask>{
    private static final long serialVersionUID = 1L;

    /** 当前用户id */
    //@ApiModelProperty(value = "主键ID",position=20)
    private String userId;

    //@ApiModelProperty(value = "被委托人", position = 80)
    private String userName;

    /** 状态 */
    //@ApiModelProperty(value = "状态",position=40)
    private String status;
    // 被委托人 存的用户id
    private String mandator;

    public void setUserId(String userId){
        this.userId = userId;
    }

    public String getUserId(){
        return userId;
    }

    public void setStatus(String status){
        this.status = status;
    }

    public String getStatus(){
        return status;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getMandator() {
        return mandator;
    }

    public void setMandator(String mandator) {
        this.mandator = mandator;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("userId", getUserId())
            .append("status", getStatus())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("delFlag", getDelFlag())
            .append("mandator",getMandator())
            .toString();
    }
}
